GBML manual / Constants

BTN_SELECT

The GBA’s SELECT button, for btn_held/btn_pressed/btn_released.

Sega Genesis: not available

On other consoles this differs: see Side by side and How the consoles differ.

Syntax

BTN_SELECT: constant

Description

Names the GBA's SELECT button, for passing to btn_held, btn_pressed or btn_released - the Select button.

Example

if (btn_pressed(BTN_SELECT)) {
    var fired = true;
}

Checks for a fresh press of SELECT this frame.

See also: btn_heldbtn_pressedbtn_released